EXEC = uart_raw
OBJS = uart_raw.o
SRC  = uart_raw.c
 
CC = gcc
 
#CC = /home/hongzhunzhun/work/OpenWrt-SDK-sunxi-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/toolchain-arm_cortex-a7+neon_gcc-4.8-linaro_uClibc-0.9.33.2_eabi/bin/arm-openwrt-linux-uclibcgnueabi-g++
 
 
CFLAGS += -O2 -Wall
LDFLAGS +=
 
all:$(EXEC)
 
$(EXEC):$(OBJS)
	$(CC) $(LDFLAGS) -o $@ $(OBJS)
 
%.o:%.c
	$(CC) $(CFLAGS) -c $< -o $@
 
clean:
	@rm -vf $(EXEC) *.o *~
